package com.huabo.system.service.impl;

import com.huabo.system.mysql.entity.TblNbsjPlanprojectMySql;
import com.huabo.system.mysql.mapper.TblNbsjPlanprojectMySqlMapper;
import com.huabo.system.oracle.entity.TblNbsjPlanproject;
import com.huabo.system.oracle.mapper.TblNbsjPlanprojectMapper;
import com.huabo.system.service.TblNbsjPlanprojectService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TblNbsjPlanprojectServiceImpl implements TblNbsjPlanprojectService {

    @Resource
    private TblNbsjPlanprojectMapper tblNbsjPlanprojectMapper;

    @Resource
    private TblNbsjPlanprojectMySqlMapper tblNbsjPlanprojectMySqlMapper;


    @Override
    public List<TblNbsjPlanproject> findByPlanId(String planid) {
        return tblNbsjPlanprojectMapper.findByPlanId(planid);
    }

    @Override
    public List<TblNbsjPlanprojectMySql> findByMySqlPlanId(String planid) {
        return tblNbsjPlanprojectMySqlMapper.findByPlanId(planid);
    }
}
